<template>
  <div id="app">
    <img src="./assets/logo.png">
       {{totalPrice}}
    <apple></apple>
    <banana></banana>
  </div>
</template>

<script>
  import Apple from './example/apple.vue'
  import Banana from './example/banana.vue'
export default {
//  name: 'app',
  components:{Apple,Banana},
  computed:{
    totalPrice(){
      return this.$store.state.totalPrice
    }
  }

}
</script>

<style>

</style>
